package com.etc.entity;

import java.io.Serializable;

/**
 * 林铭淞
 * 省市信息实体类
 */
public class Area implements Serializable {
    private Integer areaId;
    private Integer cityId;
    private String cityName;
    private Integer provinceId;
    private String provinceName;

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Area(Integer areaId, Integer cityId, String cityName, Integer provinceId, String provinceName) {
        this.areaId = areaId;
        this.cityId = cityId;
        this.cityName = cityName;
        this.provinceId = provinceId;
        this.provinceName = provinceName;
    }

    public Area() {
    }

    @Override
    public String toString() {
        return "Area{" +
                "areaId=" + areaId +
                ", cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", provinceId=" + provinceId +
                ", provinceName='" + provinceName + '\'' +
                '}';
    }
}
